#-*- coding:utf-8 -*-

# if __name__ == '__main__':
#     print "hello,world"

'''
    walk 函数会帮你找出一个目录树下的所有文件

'''

import os

def callback(arg, directory, files):
    for file in files:
        print os.path.join(directory, file), repr(arg)

os.path.walk(".", callback, "secret message")






